<?php
$module_name = 'edanz_Editor';
$viewdefs [$module_name] = 
array (
  'DetailView' => 
  array (
    'templateMeta' => 
    array (
      'form' => 
      array (
        'buttons' => 
        array (
          0 => 'EDIT',
          1 => 'DUPLICATE',
          2 => 'DELETE',
          3 => 'FIND_DUPLICATES',
          4 => 
          array (
            'customCode' => '<input title="{$MOD.LBL_VIEW_SCHEDULE}"  type="button" class="button" onClick="document.location=\'index.php?module=edanz_Schedule&action=index&shared_ids[]={$fields.id.value}\'" name="ViewSchedule" value="{$MOD.LBL_VIEW_SCHEDULE}">',
          ),
        ),
      ),
      'maxColumns' => '2',
      'widths' => 
      array (
        0 => 
        array (
          'label' => '10',
          'field' => '30',
        ),
        1 => 
        array (
          'label' => '10',
          'field' => '30',
        ),
      ),
      'useTabs' => false,
    ),
    'panels' => 
    array (
      'LBL_PANEL_CREDENTIALS' => 
      array (
        0 => 
        array (
          0 => 'employee_status',
          1 => 'editor_code',
        ),
        1 => 
        array (
          0 => 'credentialed_for_editing',
          1 => 'assigned_user_name',
        ),
        2 => 
        array (
          0 => 'credentialed_for_review',
          1 => 'fish_test',
        ),
        3 => 
        array (
          0 => 'credentialed_for_writing',
          1 => 'average_quality_rating',
        ),
        4 => 
        array (
          0 => 'credentialed_for_other_focus_services',
          1 => 'academic_field',
        ),
        5 => 
        array (
          0 => 'edanz_start_date',
          1 => 'specialisations',
        ),
        6 => 
        array (
          0 => 
          array (
            'name' => 'desiredworkload_c',
            'label' => 'LBL_DESIREDWORKLOAD',
          ),
          1 => 'first',
        ),
        7 => 
        array (
          0 => '',
          1 => 'secondary',
        ),
        8 => 
        array (
          0 => '',
          1 => 'tertiary',
        ),
      ),
      'LBL_PANEL_PERSONAL_INFORMATION' => 
      array (
        0 => 
        array (
          0 => 'full_name',
          1 => 'published_photo',
        ),
        1 => 
        array (
          0 => 'gender',
          1 => 'messenger_type',
        ),
        2 => 
        array (
          0 => 'phone_work',
          1 => 'messenger_id',
        ),
        3 => 
        array (
          0 => 'phone_mobile',
          1 => 'address_street',
        ),
        4 => 
        array (
          0 => 'phone_fax',
          1 => 'address_city',
        ),
        5 => 
        array (
          0 => 'phone_home',
          1 => 'address_state',
        ),
        6 => 
        array (
          0 => 'phone_other',
          1 => 'address_postalcode',
        ),
        7 => 
        array (
          0 => 
          array (
            'name' => 'website',
            'type' => 'link',
            'label' => 'LBL_WEBSITE',
            'displayParams' => 
            array (
              'link_target' => '_blank',
            ),
          ),
          1 => 'address_country',
        ),
        8 => 
        array (
          0 => 'email1',
          1 => 'native_language',
        ),
        9 => 
        array (
          0 => 'description',
        ),
      ),
      'LBL_PANEL_OTHER' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'date_entered',
            'customCode' => '{$fields.date_entered.value} {$APP.LBL_BY} {$fields.created_by_name.value}',
            'label' => 'LBL_DATE_ENTERED',
          ),
        ),
        1 => 
        array (
          0 => 
          array (
            'name' => 'date_modified',
            'customCode' => '{$fields.date_modified.value} {$APP.LBL_BY} {$fields.modified_by_name.value}',
            'label' => 'LBL_DATE_MODIFIED',
          ),
        ),
      ),
    ),
  ),
);
?>
